import { defineConfig } from 'windicss/helpers'

export default defineConfig({
  preflight: false,
  extract: {
    include: ['**/*.{jsx,tsx,scss,css}'],
    exclude: ['node_modules', '.git', '.dist', 'public', '.husky', 'mock'],
  },
  // 组装新的类名
  shortcuts: {
    flex_center: 'flex items-center justify-center',
    flex_items_center: 'flex items-center',
    flex_justify_center: 'flex justify-center',
    flex_justify_end: 'flex justify-end items-center',
    flex_justify_between: 'flex justify-between items-center',
    common_page: 'w-300 m-auto rounded-lg',
  },
})
